package com.yeheng.homework.mapper;

import com.yeheng.homework.dto.Condition;
import com.yeheng.homework.entity.Emp;

import java.util.List;


/**
 * @Classname EmpMapper
 * @Description :
 * @Date 2020/12/26 12:53
 * @Created by Yeheng
 */
public interface EmpMapper {

    List<Emp> findAll(Condition cond);

    Integer count(Condition cond);

    Emp findByEid(Integer eid);

    boolean delByEid(Integer eid);

    boolean updateEmp(Emp emp);

    boolean addEmp(Emp emp);
}
